package com;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("com");
        UserServiceImpl userService = (UserServiceImpl) context.getBean("userServiceImpl");
        userService.doSth();
        System.out.println("=======================");
        userService.doSth2();
    }
}
